package cn.iocoder.yudao.module.picturebook.controller.admin.classhomework.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 班级作业信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ClassHomeworkRespVO {

    @Schema(description = "作业ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "30434")
    @ExcelProperty("作业ID")
    private Long id;

    @Schema(description = "关联班级", requiredMode = Schema.RequiredMode.REQUIRED, example = "13594")
    @ExcelProperty("关联班级")
    private Long classId;

    @Schema(description = "作业名称（如“07月08日作业”）", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("作业名称（如“07月08日作业”）")
    private String homeworkName;

    @Schema(description = "关联书籍（可多选，需用关联表扩展）", example = "20058")
    @ExcelProperty("关联书籍（可多选，需用关联表扩展）")
    private Long bookId;

    @Schema(description = "截止时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("截止时间")
    private LocalDateTime deadline;

    @Schema(description = "状态：1-未完成，2-已完成", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("状态：1-未完成，2-已完成")
    private Integer status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}